package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 小程序配置类
 * 
 * @author ruoyi
 */
@Component
@ConfigurationProperties(prefix = "wxconfig")
public class WxConfig
{
    /** 小程序AppId */
    private static String appIdApplet;

    /** 小程序AppSecret */
    private static String appSecretApplet;

    public static String getAppIdApplet() {
        return appIdApplet;
    }

    public static void setAppIdApplet(String appIdApplet) {
        WxConfig.appIdApplet = appIdApplet;
    }

    public static String getAppSecretApplet() {
        return appSecretApplet;
    }

    public static void setAppSecretApplet(String appSecretApplet) {
        WxConfig.appSecretApplet = appSecretApplet;
    }
}
